package crp.core.resource.domain.models;

import crp.core.course.domain.models.CourseEntity;
import crp.core.space.domain.models.LocationEntity;
import crp.core.space.domain.models.SpaceEntity;
import com.qwlabs.storage.models.StorageObject;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

import java.time.Instant;
import java.util.List;

@Builder
@Getter
@AllArgsConstructor
public class CreateCourseResourceCommand {
    private final CourseEntity course;
    private final String name;
    private final AttachmentType type;
    private final ResourceSourceType sourceType;
    private final SpaceEntity space;
    private final Instant startAt;
    private final Instant endAt;
    private final List<StorageObject> items;
}
